import os
for i in range(1,51):
    path = r'C:\Users\王相辰\Desktop\调试代码用的文档\test' +str(i)
    os.mkdir(path)